//
//  DNPickerView.h
//  DanoneEA
//
//  Created by Senela on 16/11/1.
//  Copyright © 2016年 翔傲科技. All rights reserved.
//

#import <UIKit/UIKit.h>
#define SCREEN_WIDTH                [[UIScreen mainScreen] bounds].size.width
#define SCREEN_HEIGHT               [[UIScreen mainScreen] bounds].size.height

typedef void (^PickerSelectBlock)(NSInteger components, NSInteger row);


@interface DNPickerView : UIPickerView
@property (retain, nonatomic) NSArray *arrPickerData;
@property (retain, nonatomic) NSArray *widthForComponentArr;

@property (nonatomic, assign)NSInteger viewHeight; // 视图高度，默认为256 
@property (nonatomic, assign)BOOL autoHide; // 选择后是否自动隐藏，默认为no

@property (nonatomic, copy) PickerSelectBlock selectBlock;

- (void)popPickerView;

@end
